package com.example.mqtt.entity;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class PersonAngles {
    /**
     *
     */
    private double leftElbow;
    private double rightElbow;
    private double leftHip;
    private double rightHip;
    private double leftKnee;
    private double rightKnee;
    private double leftLegToY;
    private double rightLegToY;
    private double leftBodyToY;
    private double rightBodyToY;
    private double leftArmToBody;
    private double rightArmToBody;
    private String personPos;
    private long timestamp;

    private double ankleX;
    private double ankleY;
    private double kneeX;
    private double kneeY;
    private double hipX;
    private double hipY;
    private double shoulderX;
    private double shoulderY;
    private double elbowX;
    private double elbowY;
    private double wristX;
    private double wristY;

    public PersonAngles(double leftElbow, double rightElbow, double leftHip, double rightHip, double leftKnee, double rightKnee, double leftLegToY, double rightLegToY, double leftBodyToY, double rightBodyToY, double leftArmToBody, double rightArmToBody, String personPos, long timestamp, double ankleX, double ankleY, double kneeX, double kneeY, double hipX, double hipY, double shoulderX, double shoulderY, double elbowX, double elbowY, double wristX, double wristY) {
        this.leftElbow = leftElbow;
        this.rightElbow = rightElbow;
        this.leftHip = leftHip;
        this.rightHip = rightHip;
        this.leftKnee = leftKnee;
        this.rightKnee = rightKnee;
        this.leftLegToY = leftLegToY;
        this.rightLegToY = rightLegToY;
        this.leftBodyToY = leftBodyToY;
        this.rightBodyToY = rightBodyToY;
        this.leftArmToBody = leftArmToBody;
        this.rightArmToBody = rightArmToBody;
        this.personPos = personPos;
        this.timestamp = timestamp;
        this.ankleX = ankleX;
        this.ankleY = ankleY;
        this.kneeX = kneeX;
        this.kneeY = kneeY;
        this.hipX = hipX;
        this.hipY = hipY;
        this.shoulderX = shoulderX;
        this.shoulderY = shoulderY;
        this.elbowX = elbowX;
        this.elbowY = elbowY;
        this.wristX = wristX;
        this.wristY = wristY;
    }
}
